<template>
  <div class="dashboard-container">
    <!-- <div class="dashboard-text">name: {{ name }}</div> -->
    <div class="container">
      <div class="col-lg-12 premium">
        <header>
          <h1>Premium<span>Psds</span></h1>
          <p>We loce simplicity. Truly amazing and unique resources.</p><a class="ui-kit"><span>UI Kit</span></a>
        </header>
      </div>
    </div>
    <div class="container">
      <div class="col-lg-8 col-md-6 col-sm-12">
        <div class="container">
          <div class="col-lg-6 col-md-12 col-sm-12">
            <div class="user-card card">
              <div class="user-avatar">
                <img src="//i.imgbox.com/abzwUr7W" class="user-bg">
                <img src="//i.imgbox.com/adyPLwgm" class="user-pic">
              </div>
              <header>
                <h1 @click="resetPassWord">{{ name }}</h1>
                <p @click="updateToken">Creative Director</p>
              </header>
              <div class="status">Set without brought abundantly. You'll behold. Night, moveth which fruit without saw to was rule.</div>
              <ul class="stats">
                <li><a><strong>380</strong><span>Following</span></a></li>
                <li><a><strong>934</strong><span>Likes</span></a></li>
                <li><a><strong>48</strong><span>Photos</span></a></li>
              </ul>
            </div>
          </div>
          <div class="col-lg-6 col-md-12 col-sm-12">
            <div class="stock card">
              <div class="stock-chart">
                <div id="chart" />
              </div>
              <div class="current-price container">
                <div class="info col-lg-6"><abbr>AAPL</abbr>
                  <time>Yesterday, 15:04 pm</time>
                </div>
                <div class="changes col-lg-6">
                  <div class="value up">694.00</div>
                  <div class="change">+4.95 (3.49%)</div>
                </div>
              </div>
              <div class="yearly-changes container">
                <div class="year-all col-lg-6"><strong>+105.32</strong><span>Yearly change</span></div>
                <div class="year-chart col-lg-6">
                  <ul class="chart-bars">
                    <li data-value="35" data-title="January">
                      <div class="value" />
                      <label>J</label>
                    </li>
                    <li data-value="35" data-title="February">
                      <div class="value" />
                      <label>F</label>
                    </li>
                    <li data-value="35" data-title="March">
                      <div class="value" />
                      <label>M</label>
                    </li>
                    <li data-value="35" data-title="April">
                      <div class="value" />
                      <label>A</label>
                    </li>
                    <li data-value="35" data-title="May">
                      <div class="value" />
                      <label>M</label>
                    </li>
                    <li data-value="35" data-title="June">
                      <div class="value" />
                      <label>J</label>
                    </li>
                    <li data-value="35" data-title="July">
                      <div class="value" />
                      <label>J</label>
                    </li>
                    <li data-value="35" data-title="August">
                      <div class="value" />
                      <label>A</label>
                    </li>
                    <li data-value="35" data-title="September">
                      <div class="value" />
                      <label>S</label>
                    </li>
                    <li data-value="35" data-title="October">
                      <div class="value" />
                      <label>O</label>
                    </li>
                    <li data-value="35" data-title="November">
                      <div class="value" />
                      <label>N</label>
                    </li>
                    <li data-value="35" data-title="December">
                      <div class="value" />
                      <label>D</label>
                    </li>
                  </ul>
                </div>
              </div>
              <div class="summary container">
                <div class="col-lg-6 mobile-grid-50"><a><strong>18.3 M</strong><span>Shares traded</span></a></div>
                <div class="col-lg-6 mobile-grid-50"><a><strong>13.45 B</strong><span>Market cap</span></a></div>
              </div>
            </div>
          </div>
        </div>
        <div class="container">
          <div class="video-player card">
            <div class="vbox">
              <div class="thumbnail" />
              <button class="play-btn"><span class="icon-play" /></button>
            </div>
            <ul class="unstyled controls table">
              <li class="play">
                <button><span class="icon-play" /></button>
              </li>
              <li class="timeline">
                <div class="progress-bar">
                  <div class="bar">
                    <div class="progress">
                      <div class="value" />
                    </div>
                  </div>
                </div>
              </li>
              <li class="volume-ctl">
                <ul class="unstyled table">
                  <li class="volume-btn">
                    <button><span class="icon-volume-up" /></button>
                  </li>
                  <li class="volume-bar">
                    <div class="progress-bar">
                      <div class="bar">
                        <div class="value" />
                      </div>
                    </div>
                  </li>
                </ul>
              </li>
              <li class="fullscreen">
                <button><span class="icon-fullscreen" /></button>
              </li>
            </ul>
          </div>
          <div class="location card">
            <div class="map" />
            <div class="decription container">
              <div class="col-lg-9">
                <div class="loc"> <span class="icon-map-marker" />Your location</div>
                <div class="city">Sheffield, England</div>
              </div>
              <div class="col-lg-3"><a class="photos">View photos</a></div>
            </div>
          </div>
          <div class="messages">
            <div class="messages-box">
              <div class="message notice">
                <button data-close="true" class="close" />
                <div class="message-text">You are logged in.</div>
              </div>
              <div class="message success">
                <button data-hide="true" class="close" />
                <div class="message-text">Post was successfully created.</div>
              </div>
              <div class="message error">
                <button data-close="true" class="close" />
                <div class="message-text">You did't have permission for destroy this post.</div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="col-lg-4 col-md-6 col-sm-12">
        <div class="container">
          <div class="col-lg-12">
            <div class="sidebar card">
              <ul class="unstyled table fullwidth links">
                <li class="active"><a>Popular</a></li>
                <li><a>Comments</a></li>
                <li><a>Recent</a></li>
              </ul>
              <ul class="unstyled content">
                <li>
                  <figure><img src="//i.imgbox.com/acmzfWnu">
                    <div class="description">
                      <p>Urna quam quisque suspendisse eros, mauris augue.</p><a><span class="icon-heart" />3K Likes</a>
                    </div>
                  </figure>
                </li>
                <li>
                  <figure><img src="//i.imgbox.com/abhgFP2L">
                    <div class="description">
                      <p>Urna quam quisque suspendisse eros, mauris augue.</p><a><span class="icon-heart" />25 Likes</a>
                    </div>
                  </figure>
                </li>
                <li>
                  <figure><img src="//i.imgbox.com/adw49q0r">
                    <div class="description">
                      <p>Urna quam quisque suspendisse eros, mauris augue.</p><a><span class="icon-heart" />134 Likes</a>
                    </div>
                  </figure>
                </li>
              </ul>
            </div>
          </div>
          <div class="col-lg-12">
            <div class="user-menu card">
              <ul class="unstyled table fullwidth">
                <li><a><span class="icon-user" /></a></li>
                <li><a><span class="icon-calendar" /></a></li>
                <li><a><span class="icon-comment" /></a></li>
                <li class="activity"><a><span class="icon-bell-alt" /></a></li>
                <li><a><span class="icon-search" /></a></li>
              </ul>
            </div>
          </div>
          <div class="col-lg-12">
            <div class="login-form card">
              <div class="input-field"><span class="icon-user" />
                <input placeholder="Username" class="username">
              </div>
              <div class="input-field"><span class="icon-lock" />
                <input type="password" placeholder="Password" class="password">
              </div>
              <button class="login-btn">Sign in</button>
              <p>Not a member? <a>Sign up now</a></p>
            </div>
          </div>
          <div class="col-lg-12">
            <div class="main-menu card">
              <ul class="unstyled">
                <li><a><span class="icon icon-dashboard" />
                  <div class="badge">1</div>
                  <div class="title">Dashboard</div></a></li>
                <li><a><span class="icon icon-user" />
                  <div class="badge green">8</div>
                  <div class="title">Profile</div></a></li>
                <li class="orange"><a><span class="icon icon-envelope" />
                                     <div class="badge">14</div>
                                     <div class="title">Messages</div></a>
                  <ul class="unstyled">
                    <li><a><span class="icon icon-inbox" />
                      <div class="title">Inbox</div></a></li>
                    <li><a><span class="icon icon-location-arrow" />
                      <div class="title">Sent</div></a></li>
                    <li><a><span class="icon icon-trash" />
                      <div class="title">Deleted</div></a></li>
                  </ul>
                </li>
                <li><a><span class="icon icon-cog" />
                  <div class="badge">16</div>
                  <div class="title">Settings</div></a></li>
              </ul>
            </div>
          </div>
          <div class="col-lg-12">
            <div class="weather card">
              <div class="current">
                <div class="icon"><span class="icon-sun" /></div>
                <div class="temperature">30&deg;</div>
              </div>
              <div class="container info">
                <div class="col-lg-10">
                  <div class="city">Los Angeles</div>
                  <div class="container indicators">
                    <div class="col-lg-6 precipitation"><span class="icon icon-tint" />13%</div>
                    <div class="col-lg-6 wind"><span class="icon icon-flag" />15<small>Mph</small></div>
                  </div>
                </div>
                <div class="col-lg-2">
                  <button class="refresh"><span class="icon-refresh" /></button>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <footer class="container">
      <div class="illustration card">
        <p>Illustration by Fil Dunsky is not allowed to use without author permission. <a href="http://dunsky.ru">http://dunsky.ru</a></p>
      </div>
    </footer>
    <div id="controls-container">Font-size: <span id="font-size-value">1em</span>
      <input id="font-size" type="range" min=".8" max="1.2" step=".1" value="1">
    </div>
    <el-dialog
      title="修改密码"
      :visible.sync="dialogVisible"
      width="30%"
    >
      <el-form ref="form" :model="form" label-width="80px">
        <el-form-item label="旧密码">
          <el-input v-model="form.oldPw" />
        </el-form-item>
        <el-form-item label="新密码">
          <el-input v-model="form.newPw" />
        </el-form-item>
      </el-form>

      <span slot="footer" class="dialog-footer">
        <el-button @click="dialogVisible = false">取 消</el-button>
        <el-button type="primary" @click="doneOkey">确 定</el-button>
      </span>
    </el-dialog>
  </div>
</template>

<script>
import { mapActions, mapGetters } from 'vuex'

const that = this
const $ = window.$

export default {
  name: 'Dashboard',
  data() {
    return {
      dialogVisible: false,
      form: {}
    }
  },
  computed: {
    ...mapGetters([
      'name'
    ])
  },
  mounted() {
    // Generated by CoffeeScript 1.6.2
    (function() {
      var $body, $value, restore

      $('[data-hide]').on('click', function() {
        var $message, $this

        $this = $(this)
        $message = $this.parent()
        restore($message)
        return $message.addClass('hide')
      })

      $('[data-close]').on('click', function() {
        var $message, $this

        $this = $(this)
        $message = $this.parent()
        restore($message)
        return $message.addClass('hide')
      })

      restore = function(el) {
        return el.one('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend', function() {
          return setTimeout(function() {
            return el.removeClass('hide')
          }, 1000)
        })
      }

      $body = $('body')

      $value = $('#font-size-value')

      $('#font-size').on('change', function() {
        var value

        value = this.value
        $value.html('' + value + 'em')
        return $body.css('font-size', '' + value + 'em')
      })
    }).call(that)
  },
  methods: {
    ...mapActions('user', ['resetPassword', 'updateToken']),
    resetPassWord() {
      this.dialogVisible = true
    },
    doneOkey() {
      console.log(this.form)
      this.resetPassword(this.form)
    }
  }
}
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
</style>
<style lang="scss" scoped>
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.container {
  *zoom: 1;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto; }
  .container:before, .container:after {
    content: " ";
    display: table; }
  .container:after {
    clear: both; }
  .container .row {
    *zoom: 1;
    display: block; }
    .container .row:before, .container .row:after {
      content: " ";
      display: table; }
    .container .row:after {
      clear: both; }

body > .container {
  margin-top: 1em;
  margin-bottom: 1em; }
  @media only screen and (min-width: 641px) and (max-width: 959px) {
    body > .container {
      margin: 1em; } }
  @media only screen and (max-width: 640px) {
    body > .container {
      font-size: 1.1em;
      margin: 1em;
      min-width: 320px; } }
  @media only screen and (min-width: 1220px) {
    body > .container {
      font-size: 1.1em;
      max-width: 1220px; } }

.col-lg-1 {
  display: block;
  float: left;
  margin-right: 1.20482%;
  width: 7.22892%; }
  .col-lg-1:last-child {
    margin-right: 0; }

.col-lg-2 {
  display: block;
  float: left;
  margin-right: 1.20482%;
  width: 15.66265%; }
  .col-lg-2:last-child {
    margin-right: 0; }

.col-lg-3 {
  display: block;
  float: left;
  margin-right: 1.20482%;
  width: 24.09639%; }
  .col-lg-3:last-child {
    margin-right: 0; }

.col-lg-4 {
  display: block;
  float: left;
  margin-right: 1.20482%;
  width: 32.53012%; }
  .col-lg-4:last-child {
    margin-right: 0; }

.col-lg-5 {
  display: block;
  float: left;
  margin-right: 1.20482%;
  width: 40.96386%; }
  .col-lg-5:last-child {
    margin-right: 0; }

.col-lg-6 {
  display: block;
  float: left;
  margin-right: 1.20482%;
  width: 49.39759%; }
  .col-lg-6:last-child {
    margin-right: 0; }

.col-lg-7 {
  display: block;
  float: left;
  margin-right: 1.20482%;
  width: 57.83133%; }
  .col-lg-7:last-child {
    margin-right: 0; }

.col-lg-8 {
  display: block;
  float: left;
  margin-right: 1.20482%;
  width: 66.26506%; }
  .col-lg-8:last-child {
    margin-right: 0; }

.col-lg-9 {
  display: block;
  float: left;
  margin-right: 1.20482%;
  width: 74.6988%; }
  .col-lg-9:last-child {
    margin-right: 0; }

.col-lg-10 {
  display: block;
  float: left;
  margin-right: 1.20482%;
  width: 83.13253%; }
  .col-lg-10:last-child {
    margin-right: 0; }

.col-lg-11 {
  display: block;
  float: left;
  margin-right: 1.20482%;
  width: 91.56627%; }
  .col-lg-11:last-child {
    margin-right: 0; }

.col-lg-12 {
  display: block;
  float: left;
  margin-right: 1.20482%;
  width: 100%; }
  .col-lg-12:last-child {
    margin-right: 0; }

@media only screen and (min-width: 641px) and (max-width: 959px) {
  .col-md-1 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 7.22892%; }
    .col-md-1:last-child {
      margin-right: 0; } }
@media only screen and (min-width: 641px) and (max-width: 959px) {
  .col-md-2 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 15.66265%; }
    .col-md-2:last-child {
      margin-right: 0; } }
@media only screen and (min-width: 641px) and (max-width: 959px) {
  .col-md-3 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 24.09639%; }
    .col-md-3:last-child {
      margin-right: 0; } }
@media only screen and (min-width: 641px) and (max-width: 959px) {
  .col-md-4 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 32.53012%; }
    .col-md-4:last-child {
      margin-right: 0; } }
@media only screen and (min-width: 641px) and (max-width: 959px) {
  .col-md-5 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 40.96386%; }
    .col-md-5:last-child {
      margin-right: 0; } }
@media only screen and (min-width: 641px) and (max-width: 959px) {
  .col-md-6 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 49.39759%; }
    .col-md-6:last-child {
      margin-right: 0; } }
@media only screen and (min-width: 641px) and (max-width: 959px) {
  .col-md-7 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 57.83133%; }
    .col-md-7:last-child {
      margin-right: 0; } }
@media only screen and (min-width: 641px) and (max-width: 959px) {
  .col-md-8 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 66.26506%; }
    .col-md-8:last-child {
      margin-right: 0; } }
@media only screen and (min-width: 641px) and (max-width: 959px) {
  .col-md-9 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 74.6988%; }
    .col-md-9:last-child {
      margin-right: 0; } }
@media only screen and (min-width: 641px) and (max-width: 959px) {
  .col-md-10 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 83.13253%; }
    .col-md-10:last-child {
      margin-right: 0; } }
@media only screen and (min-width: 641px) and (max-width: 959px) {
  .col-md-11 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 91.56627%; }
    .col-md-11:last-child {
      margin-right: 0; } }
@media only screen and (min-width: 641px) and (max-width: 959px) {
  .col-md-12 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 100%; }
    .col-md-12:last-child {
      margin-right: 0; } }
@media only screen and (max-width: 640px) {
  .col-sm-1 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 7.22892%; }
    .col-sm-1:last-child {
      margin-right: 0; } }
.col-offset-1 {
  margin-left: 8.43373%; }

@media only screen and (max-width: 640px) {
  .col-sm-2 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 15.66265%; }
    .col-sm-2:last-child {
      margin-right: 0; } }
.col-offset-2 {
  margin-left: 16.86747%; }

@media only screen and (max-width: 640px) {
  .col-sm-3 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 24.09639%; }
    .col-sm-3:last-child {
      margin-right: 0; } }
.col-offset-3 {
  margin-left: 25.3012%; }

@media only screen and (max-width: 640px) {
  .col-sm-4 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 32.53012%; }
    .col-sm-4:last-child {
      margin-right: 0; } }
.col-offset-4 {
  margin-left: 33.73494%; }

@media only screen and (max-width: 640px) {
  .col-sm-5 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 40.96386%; }
    .col-sm-5:last-child {
      margin-right: 0; } }
.col-offset-5 {
  margin-left: 42.16867%; }

@media only screen and (max-width: 640px) {
  .col-sm-6 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 49.39759%; }
    .col-sm-6:last-child {
      margin-right: 0; } }
.col-offset-6 {
  margin-left: 50.60241%; }

@media only screen and (max-width: 640px) {
  .col-sm-7 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 57.83133%; }
    .col-sm-7:last-child {
      margin-right: 0; } }
.col-offset-7 {
  margin-left: 59.03614%; }

@media only screen and (max-width: 640px) {
  .col-sm-8 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 66.26506%; }
    .col-sm-8:last-child {
      margin-right: 0; } }
.col-offset-8 {
  margin-left: 67.46988%; }

@media only screen and (max-width: 640px) {
  .col-sm-9 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 74.6988%; }
    .col-sm-9:last-child {
      margin-right: 0; } }
.col-offset-9 {
  margin-left: 75.90361%; }

@media only screen and (max-width: 640px) {
  .col-sm-10 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 83.13253%; }
    .col-sm-10:last-child {
      margin-right: 0; } }
.col-offset-10 {
  margin-left: 84.33735%; }

@media only screen and (max-width: 640px) {
  .col-sm-11 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 91.56627%; }
    .col-sm-11:last-child {
      margin-right: 0; } }
.col-offset-11 {
  margin-left: 92.77108%; }

@media only screen and (max-width: 640px) {
  .col-sm-12 {
    display: block;
    float: left;
    margin-right: 1.20482%;
    width: 100%; }
    .col-sm-12:last-child {
      margin-right: 0; } }
.col-offset-12 {
  margin-left: 101.20482%; }

.premium header {
  background: #1d2122;
  padding: 1.5em 1em;
  padding-right: 40%;
  position: relative;
  border-radius: 0.3rem; }
  .premium header h1 {
    color: #c5c5c5;
    margin: 0; }
    .premium header h1 span {
      color: #f9f9f9; }
  .premium header p {
    color: #bfc5c8;
    margin: 0; }
.premium .ui-kit {
  background: #e76049;
  height: 100%;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  padding: 0 1.5em;
  text-transform: uppercase;
  color: white;
  border-top-right-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem; }
  .premium .ui-kit:before {
    content: "";
    height: 100%;
    vertical-align: middle;
    display: inline-block; }
  .premium .ui-kit span {
    font-size: 2em;
    font-weight: 600;
    vertical-align: middle; }

.card {
  background: white;
  border-radius: 0.3rem;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  margin-bottom: 1em; }

.user-card .user-avatar {
  text-align: center; }
  .user-card .user-avatar .user-bg {
    width: 100%;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem; }
    .user-card .user-avatar .user-bg:after {
      content: "";
      width: 100%;
      height: 100%;
      background: red; }
  .user-card .user-avatar .user-pic {
    background: white;
    padding: 0.25em;
    border-radius: 0.3rem;
    margin-top: -10em;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.35); }
.user-card header, .user-card .status {
  text-align: center;
  padding: 0 1.5em; }
.user-card header h1 {
  margin-top: 0.35em;
  margin-bottom: 0; }
.user-card header p {
  color: #717a7e;
  font-size: 1.2em;
  margin-top: 0;
  margin-bottom: 0.5em; }
.user-card .status {
  color: #75787b;
  font-size: 0.98em; }
.user-card .stats {
  margin-bottom: 0;
  padding: 0;
  list-style: none;
  display: table;
  width: 100.15%; }
  .user-card .stats li {
    margin: 0;
    padding: 0;
    width: 33.33334%;
    display: table-cell;
    text-align: center;
    border-left: 0.1em solid transparent; }
    .user-card .stats li:first-child {
      border-left: 0; }
      .user-card .stats li:first-child a {
        border-bottom-left-radius: 0.3rem; }
    .user-card .stats li:last-child a {
      border-bottom-right-radius: 0.3rem; }
    .user-card .stats li a, .user-card .stats li strong {
      display: block; }
    .user-card .stats li a {
      background: #f7f7f7;
      padding: 1em 0;
      color: #46494c; }
      .user-card .stats li a strong, .user-card .stats li a span {
        font-weight: 600;
        line-height: 1; }
      .user-card .stats li a strong {
        font-size: 2em; }
      .user-card .stats li a span {
        color: #717a7e; }
      .user-card .stats li a:hover {
        background: rgba(0, 0, 0, 0.05);
        color: #1c84d4; }
        .user-card .stats li a:hover span {
          color: #1d8cdf; }

.stock .stock-chart {
  background: #00c5de;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem; }
  .stock .stock-chart #chart {
    height: 10.7em;
    background: url(http://i.imgbox.com/abmuNQx2) center bottom no-repeat; }
.stock .current-price {
  background: #1d2122;
  padding: 1em; }
  .stock .current-price .info abbr {
    display: block;
    color: #f8f8f8;
    font-size: 1.5em;
    font-weight: 600;
    margin-top: 0.18em; }
  .stock .current-price .changes {
    text-align: right; }
    .stock .current-price .changes .value {
      font-size: 1.8em;
      font-weight: 600; }
      .stock .current-price .changes .value:before {
        content: "";
        height: 0;
        width: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 0.25em;
        border-bottom-color: #4fd98b;
        display: inline-block;
        vertical-align: middle;
        margin-top: -0.5em;
        margin-right: 0.4em; }
      .stock .current-price .changes .value.up {
        color: #4fd98b; }
      .stock .current-price .changes .value.down {
        color: #e76646; }
        .stock .current-price .changes .value.down:before {
          border-color: #e76646 transparent transparent; }
  .stock .current-price .info time, .stock .current-price .info .change, .stock .current-price .changes time, .stock .current-price .changes .change {
    color: #c8c8c8;
    font-weight: 300;
    font-size: 0.9em; }
.stock .yearly-changes {
  height: 6em;
  padding: 1em; }
  .stock .yearly-changes:after {
    content: "";
    height: 100%;
    display: inline-block;
    vertical-align: middle; }
  .stock .yearly-changes .year-all, .stock .yearly-changes .year-chart {
    display: inline-block;
    vertical-align: middle; }
  .stock .yearly-changes .year-chart, .stock .yearly-changes .chart-bars {
    height: 100%; }
.stock .year-all, .stock .summary {
  text-align: center; }
  .stock .year-all strong, .stock .summary strong {
    display: block;
    font-weight: 600;
    font-size: 1.4em; }
  .stock .year-all span, .stock .summary span {
    color: #a1a5a8;
    font-size: 0.9em;
    font-weight: 300;
    text-transform: uppercase; }
.stock .year-all strong {
  font-size: 2.1em; }
.stock .year-chart .chart-bars {
  list-style: none;
  padding: 0;
  padding-bottom: 1.5em;
  margin: 0;
  text-align: justify; }
  .stock .year-chart .chart-bars:after {
    content: "";
    display: inline-block;
    width: 100%; }
  .stock .year-chart .chart-bars li {
    position: relative;
    font-size: 0.9em;
    width: 5.5%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    display: inline-block;
    border-radius: 0.3rem; }
    .stock .year-chart .chart-bars li .value {
      position: absolute;
      display: block;
      width: 100%;
      height: 50%;
      left: 0;
      bottom: 0;
      background: #1c84d4;
      border-radius: 0.3rem; }
    .stock .year-chart .chart-bars li label {
      color: #a1a5a8;
      width: 100%;
      display: block;
      text-align: center;
      position: absolute;
      bottom: -1.6em; }
.stock .summary {
  padding: 0 1em 1em; }
  .stock .summary a {
    color: #46494c;
    display: block;
    background: rgba(0, 0, 0, 0.05);
    padding: 1em 0.5em;
    border-radius: 0.3rem; }
    .stock .summary a:hover {
      color: #1c84d4; }
      .stock .summary a:hover span {
        color: #1d8cdf; }

.messages {
  margin-bottom: 1em; }

.message {
  background: #91c76f;
  margin-bottom: 0.5em;
  border-radius: 0.3em;
  position: relative;
  opacity: 1;
  -webkit-transition: transform 0.2s, opacity 0.1s;
  -moz-transition: transform 0.2s, opacity 0.1s;
  transition: transform 0.2s, opacity 0.1s; }
  @media only screen and (max-width: 640px) {
    .message {
      border-radius: 0;
      margin-bottom: 0; } }
  .message.notice {
    background: #f3ce0c; }
    .message.notice .close {
      background: #e4c20b; }
      .message.notice .close:hover {
        background: #dbb90b; }
  .message.success {
    background: #91c76f; }
    .message.success .close {
      background: #7bbc52; }
      .message.success .close:hover {
        background: #70b346; }
  .message.error {
    background: #fb8973; }
    .message.error .close {
      background: #fa745a; }
      .message.error .close:hover {
        background: #fa684b; }
  .message.notice, .message.success, .message.error, .message .close {
    color: white;
    text-shadow: 0 0.1em 0 rgba(0, 0, 0, 0.2); }
  .message.hide {
    opacity: 0;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0); }
  .message .message-text {
    padding: 0.75em;
    margin-right: 1.5em; }
    @media only screen and (max-width: 640px) {
      .message .message-text {
        margin-right: 3em; } }
  .message .close {
    right: 0;
    top: 0;
    bottom: 0;
    border: 0;
    padding: 0;
    margin: 0;
    width: 1.5em;
    position: absolute;
    background: rgba(0, 0, 0, 0.15);
    text-align: center;
    box-shadow: inset 0.1em 0 rgba(0, 0, 0, 0.04);
    cursor: pointer;
    border-top-right-radius: 0.3em;
    border-bottom-right-radius: 0.3em;
    -webkit-transition: background-color 0.2s;
    -moz-transition: background-color 0.2s;
    transition: background-color 0.2s; }
    @media only screen and (max-width: 640px) {
      .message .close {
        top: 0.5em;
        right: 0.5em;
        bottom: 0.5em;
        border-radius: 0;
        box-shadow: none; } }
    .message .close:hover {
      background: rgba(0, 0, 0, 0.2); }
    .message .close:before {
      content: "";
      display: inline-block;
      vertical-align: middle;
      height: 100%; }
    .message .close:after {
      font-family: "FontAwesome";
      content: "\f00d";
      vertical-align: middle;
      display: inline-block; }

.video-player {
  background: #1d2122; }
  .video-player .vbox {
    position: relative; }
    .video-player .vbox .thumbnail {
      height: 20em;
      background: #fdd005 url(//i.imgbox.com/acfTG4CJ) center center no-repeat; }
    .video-player .vbox .play-btn {
      color: white;
      position: absolute;
      top: 50%;
      left: 50%;
      font-size: 4em;
      background: rgba(255, 255, 255, 0.3);
      border-radius: 100%;
      text-align: center;
      padding-left: 0.37em;
      opacity: 0.8;
      width: 2em;
      height: 2em;
      border: 0.3rem solid white;
      text-shadow: 0 0.1rem rgba(0, 0, 0, 0.1);
      box-shadow: 0 0.1rem rgba(0, 0, 0, 0.1);
      -webkit-transform: translate(-50%, -50%);
      -moz-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      -o-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%); }
      .video-player .vbox .play-btn:hover {
        opacity: 1; }
  .video-player .controls {
    list-style: none;
    margin: 0;
    padding: 0;
    display: table;
    width: 100.2%; }
    .video-player .controls button {
      color: white;
      margin: 0;
      padding: 0;
      border: 0;
      padding: 0.75em 1em;
      background: none;
      font-size: 1.2em;
      text-shadow: 0 0.1em 0.1em black;
      text-align: center; }
    .video-player .controls > li {
      vertical-align: middle;
      border-left: 0.1em solid #242728;
      border-right: 0.1em solid #111315; }
      .video-player .controls > li:first-child {
        border-left: 0; }
      .video-player .controls > li:last-child {
        border-right: 0; }
      .video-player .controls > li:hover {
        background: rgba(255, 255, 255, 0.05); }
      .video-player .controls > li.timeline {
        width: 70%;
        padding: 0 1em; }
      .video-player .controls > li.volume-ctl {
        width: 30%; }
        .video-player .controls > li.volume-ctl .table {
          width: 100%; }
        .video-player .controls > li.volume-ctl .volume-bar {
          width: 100%;
          padding-right: 1em;
          vertical-align: middle; }
      @media only screen and (min-width: 641px) and (max-width: 959px) {
        .video-player .controls > li.timeline {
          width: 90%; }
        .video-player .controls > li.volume-ctl {
          display: none; } }
      @media only screen and (max-width: 640px) {
        .video-player .controls > li.timeline {
          width: 90%; }
        .video-player .controls > li.volume-ctl {
          display: none; } }

.sidebar .links li {
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  background: #f7f7f7;
  border-left: 0.1em solid #e6e6e6;
  border-bottom: 0.1em solid #e6e6e6; }
  .sidebar .links li.active {
    background: white;
    border-bottom-color: white; }
  .sidebar .links li:first-child {
    border-top-left-radius: 0.3rem;
    border-left: 0; }
  .sidebar .links li:last-child {
    border-top-right-radius: 0.3rem; }
.sidebar .links a {
  display: block;
  padding: 1.9em 0 1.5em;
  color: #1d2121; }
  .sidebar .links a:hover {
    background: rgba(255, 255, 255, 0.5); }
.sidebar .content li:last-child figure {
  border-bottom: none;
  *zoom: 1; }
  .sidebar .content li:last-child figure:before, .sidebar .content li:last-child figure:after {
    content: " ";
    display: table; }
  .sidebar .content li:last-child figure:after {
    clear: both; }
.sidebar .content figure {
  margin: 0 1.2em;
  padding: 1.2em 0;
  border-bottom: 0.1em solid #ebebeb; }
  .sidebar .content figure img {
    float: left;
    margin-right: 1.2em;
    border-radius: 0.3em; }
  .sidebar .content figure .description p {
    margin: 0;
    margin-bottom: 0.5em; }
  .sidebar .content figure .description a {
    color: #46494c;
    font-size: 0.9em; }
    .sidebar .content figure .description a:hover {
      color: #e76049; }
    .sidebar .content figure .description a span {
      margin-right: 0.35em; }

.user-menu {
  background: #1d2122;
  text-shadow: 0 0.1em 0.1em black;
  margin-top: 0.3em; }
  .user-menu li {
    position: relative;
    width: 20%;
    box-shadow: inset 0.1em 0 rgba(59, 64, 66, 0.3); }
    .user-menu li:hover {
      background: rgba(255, 255, 255, 0.2);
      box-shadow: 0 -0.3em #1c84d4, inset 0.1em 0 rgba(255, 255, 255, 0.05), inset -0.1em 0 rgba(255, 255, 255, 0.05); }
      .user-menu li:hover.activity:after {
        box-shadow: inset 0 0.1em rgba(255, 255, 255, 0.2), 0 0 0 0.25em rgba(255, 255, 255, 0.2), 0 0 0 0.25em #1d2122; }
    .user-menu li:first-child {
      border-top-left-radius: 0.3rem;
      border-bottom-left-radius: 0.3rem; }
    .user-menu li:last-child {
      border-top-right-radius: 0.3rem;
      border-bottom-right-radius: 0.3rem; }
    .user-menu li.activity:after {
      content: "";
      display: block;
      width: 0.5em;
      height: 0.5em;
      background: #e76049;
      border-radius: 100%;
      box-shadow: inset 0 0.1em rgba(255, 255, 255, 0.2), 0 0 0 0.25em #1d2122;
      position: absolute;
      top: 30%;
      right: 30%; }
  .user-menu a {
    color: #8f989c;
    display: block;
    padding: 1rem 0;
    font-size: 2em;
    text-align: center; }
    .user-menu a:hover {
      color: white; }

.login-form {
  padding: 1.5em; }
  .login-form .input-field {
    position: relative; }
    .login-form .input-field span {
      position: absolute;
      top: 0.7em;
      left: 0.95em;
      font-size: 1.5em;
      color: white; }
  .login-form input {
    margin-bottom: 0.5em;
    border-width: 0.1em 0.1em 0.1em 4em;
    border-style: solid;
    border-color: #dcdddd;
    width: 100%;
    padding: 1em;
    border-radius: 0.2em;
    color: #46494c;
    font-size: 1em;
    font-weight: 700; }
    .login-form input:focus {
      border-color: #27b9d6;
      box-shadow: 0 0 0.1em rgba(39, 185, 214, 0.6);
      outline: none; }
    .login-form input.password {
      margin-bottom: 1em; }
  .login-form .login-btn {
    background: #535658;
    color: white;
    text-transform: uppercase;
    text-align: center;
    padding: 1em;
    margin-bottom: 1em;
    border: 0;
    border-radius: 0.3rem;
    display: block;
    width: 100%;
    font-size: 1em; }
  .login-form p {
    text-align: center;
    margin: 0; }
    .login-form p a {
      font-weight: 700; }

.main-menu ul li {
  border-bottom: 0.1em solid #ebebeb; }
  .main-menu ul li .icon {
    display: block;
    float: left;
    font-size: 1.36em;
    width: 1em;
    height: 1em;
    margin-right: 1em;
    text-align: center; }
  .main-menu ul li:first-child a {
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem; }
  .main-menu ul li:last-child {
    border-bottom: 0; }
    .main-menu ul li:last-child a {
      border-bottom-left-radius: 0.3rem;
      border-bottom-right-radius: 0.3rem; }
  .main-menu ul li a {
    display: block;
    padding: 1em;
    color: #46494c; }
    .main-menu ul li a:hover {
      color: #1c84d4; }
    .main-menu ul li a .badge {
      color: white;
      min-width: 3em;
      padding: 0.4em 0.8em 0.3em;
      border-radius: 2em;
      font-size: 0.8em;
      text-align: center;
      display: block;
      float: right;
      vertical-align: middle;
      background: rgba(0, 0, 0, 0.2); }
      .main-menu ul li a .badge.green {
        background: #2eb398; }
    .main-menu ul li a .title {
      font-weight: 600;
      font-size: 1.2em;
      margin-top: 0.1em; }
  .main-menu ul li.orange {
    background: #ee775b; }
    .main-menu ul li.orange > a {
      background: #e76049;
      border-bottom: 0.1em solid #ed8776; }
    .main-menu ul li.orange a {
      color: white; }
  .main-menu ul li > ul {
    padding: 0.5em 0; }
    .main-menu ul li > ul li {
      border-bottom: 0; }
    .main-menu ul li > ul a {
      opacity: 0.75;
      padding: 0.5em 1em; }
      .main-menu ul li > ul a:hover {
        opacity: 1; }
    .main-menu ul li > ul .title {
      font-size: 1em;
      font-weight: 400; }

.weather .current {
  text-align: center;
  background: #ffcf00;
  padding: 2em 0 0;
  color: white; }
  .weather .current .icon {
    font-size: 9em; }
  .weather .current .temperature {
    font-size: 5em;
    font-weight: 700;
    margin-top: -0.3em; }
.weather .info {
  padding: 1.4rem 1.4rem 0.9rem;
  font-size: 1.4em;
  font-weight: 700; }
  .weather .info .city {
    text-transform: uppercase;
    margin-bottom: 0.6rem; }
  .weather .info .indicators {
    color: #66696c; }
    .weather .info .indicators .icon {
      margin-right: 0.5em; }
    .weather .info .indicators .wind small {
      text-transform: uppercase;
      font-size: 0.6em;
      margin-left: 0.1em; }
  .weather .info .refresh {
    font-size: 1.5em;
    width: 1.85em;
    height: 1.85em;
    background: #dcdddd;
    border: 0;
    border-radius: 0.3rem;
    color: white; }

.location {
  background: #5691b1; }
  .location .map {
    height: 15em;
    background: url(//i.imgbox.com/adlFId14) center center;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem; }
  .location .decription {
    padding: 1em;
    font-weight: 600; }
    .location .decription .loc {
      color: #225773;
      font-size: 1em;
      text-transform: uppercase;
      margin-bottom: 0.2rem; }
    .location .decription .city, .location .decription .photos {
      color: white;
      text-transform: uppercase; }
    .location .decription .city {
      font-size: 1.4em; }
    .location .decription .photos {
      font-size: 1.2em;
      padding: 0.59em 0.4em 0.4em;
      display: block;
      border: 0.2rem solid rgba(255, 255, 255, 0.2);
      border-radius: 0.3rem;
      text-align: center; }
      .location .decription .photos:hover {
        background: rgba(0, 0, 0, 0.05); }
    @media only screen and (min-width: 641px) and (max-width: 959px) {
      .location .decription .photos {
        font-size: 0.75em;
        padding: 0.6em 0.2em 0.7em; } }
    @media only screen and (max-width: 640px) {
      .location .decription .photos {
        font-size: 0.8em;
        padding: 0.4em; }
      .location .decription .city {
        font-size: 1.1em; } }

.progress-bar .bar {
  border-radius: 0.5rem;
  padding: 0.1em;
  background: black;
  box-shadow: 0 0.1em rgba(255, 255, 255, 0.1);
  position: relative; }
  .progress-bar .bar .progress {
    background: rgba(255, 255, 255, 0.15);
    width: 60%;
    border-radius: 0.3rem; }
  .progress-bar .bar .value {
    width: 40%;
    height: 0.6em;
    background: #e76049;
    border-radius: 0.3rem;
    box-shadow: inset 0 0.1em rgba(255, 255, 255, 0.2); }

.table {
  display: table; }
  .table .row {
    display: table-row; }
  .table .cell {
    display: table-cell; }

.fullwidth {
  width: 100%; }

.middle {
  vertical-align: middle; }

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

html, body {
  font: 0.9em/1.2 "Proxima Nova", "Helvetica Neue", Arial;
  background: #d3d4d5;
  color: #46494c;
  height: 100%;
  padding: 0;
  margin: 0; }

a {
  cursor: pointer;
  color: #46494c; }
  a:hover {
    color: #1c84d4; }

#controls-container {
  color: white;
  position: fixed;
  top: 5px;
  left: 5px;
  font: 13px/1.1 "Helvetica Neue", Tahoma, Verdana;
  background: rgba(0, 0, 0, 0.7);
  padding: 5px;
  z-index: 1000;
  opacity: 0.2; }
  #controls-container:hover {
    opacity: 1; }
  #controls-container input {
    display: block; }

.fr {
  float: right; }

.fl {
  float: left; }

.unstyled {
  margin: 0;
  padding: 0;
  list-style: none; }

ul.table > li {
  display: table-cell; }

.illustration {
  padding: 0.1em 1em; }

/*# sourceMappingURL=style.css.map */
</style>
